package com.kingint.mbg.ser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客房清洁单
 * </p>
 *
 * @author wxh
 * @since 2020-12-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SerRoomClean对象", description="客房清洁单")
public class SerRoomClean implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "对应工单id")
    @TableField("work_id")
    private Integer workId;

    @TableField(exist = false)
    private Integer roomId;

    @ApiModelProperty("房间号")
    @TableField(exist = false)
    private String roomNum;

    @TableField(exist = false)
    private Integer floorId;

    @ApiModelProperty("楼层名称")
    @TableField(exist = false)
    private String floorName;

    @ApiModelProperty(value = "备注")
    @TableField("note")
    private String note;

    @ApiModelProperty(value = "清洁人")
    @TableField("clean_user_id")
    private Long cleanUserId;

    @ApiModelProperty(value = "清洁人姓名")
    @TableField(exist = false)
    private String cleanUserName;

    @ApiModelProperty(value = "检查人")
    @TableField("check_user_id")
    private Long checkUserId;

    @ApiModelProperty(value = "检查人姓名")
    @TableField(exist = false)
    private String checkUserName;

    @ApiModelProperty(value = "是否设置为钟点房")
    @TableField("is_hour_room")
    private Integer isHourRoom;

    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "总工单")
    @TableField(exist = false)
    private SerWorkOrder serWorkOrder;

    @ApiModelProperty(value = "工单号")
    @TableField(exist = false)
    private String orderSn;

    @ApiModelProperty(value = "工单状态")
    @TableField(exist = false)
    private Integer orderStaus;

    @ApiModelProperty(value = "提交人id")
    @TableField(exist = false)
    private Integer submitUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(exist = false)
    private Date createTimeWork;

    @ApiModelProperty(value = "酒店")
    @TableField(exist = false)
    private Integer hotelId;

    @ApiModelProperty(value = "用户ID")
    @TableField(exist = false)
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    @TableField(exist = false)
    private String userName;





}
